#ifndef TEACHER_H
#define TEACHER_H

#include <QMainWindow>
#include"connectsqlite.h"
#include"formt.h"
#include"changeinfo.h"
#include"formmode.h"
#include"formtkaoqin.h"
#include"formtclass.h"
#include<QProcess>

namespace Ui {
class Teacher;
}

class Teacher : public QMainWindow
{
    Q_OBJECT

public:
    explicit Teacher(QWidget *parent = 0);
    ~Teacher();
    void selectBoxSlot(QString T);
    QString T1;

public slots:
    void slotformt();
    void slotformmode();
    void slotformtkaoqin();
    void slotchangeinfo();


private slots:
    void on_pb_forgetpswd_clicked();

    void on_pb_modify_clicked();

    void on_pb_class_clicked();

    void on_pb_kaoqin_clicked();

    void on_pb_holiday_clicked();

private:
    Ui::Teacher *ui;
     ConnectSQLite connectsqliteT;
     FormT *formTW;
     changeinfo *changeinfoW;
     FormMode *formmodeTW;
     FormTkaoqin *formtkaoqinW;
     Formtclass *formtclassW;
     QProcess pronew;


};

#endif // TEACHER_H
